package com.erp.dto;

import java.util.Date;

import com.erp.domain.TTimeOff;

public class TimeOff extends Apply {

	private static final long serialVersionUID = 1L;

	private Date leaveTime;// 请假开始日期
	private Integer dayNumber;// 请假天数
	private Double hourNumber;// 请假小时数
	private String reason;// 请假原因
	private String note;// 请假单备注（工作安排等）

	public TimeOff() {

	}

	public TimeOff(TTimeOff tTimeOff) {
		super(tTimeOff);
		this.leaveTime = tTimeOff.getLeaveTime();
		this.dayNumber = tTimeOff.getDayNumber();
		this.hourNumber = tTimeOff.getHourNumber();
		this.reason = tTimeOff.getReason();
		this.note = tTimeOff.getNote();
	}

	public Date getLeaveTime() {
		return leaveTime;
	}

	public void setLeaveTime(Date leaveTime) {
		this.leaveTime = leaveTime;
	}

	public Integer getDayNumber() {
		return dayNumber;
	}

	public void setDayNumber(Integer dayNumber) {
		this.dayNumber = dayNumber;
	}

	public Double getHourNumber() {
		return hourNumber;
	}

	public void setHourNumber(Double hourNumber) {
		this.hourNumber = hourNumber;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}
